package com.huyanqi.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

import com.huyanqi.core.BaseDomainObject;

@Entity
@Table(name = "s_activityset")
@XmlAccessorType(XmlAccessType.FIELD)
public class Activityset extends BaseDomainObject {
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Id
	@Column(name="s_id",nullable=false)
	@XmlElement
	@Basic(fetch=FetchType.EAGER)
	private Long sId;

	public void setSId(Long sId) {
		this.sId = sId;
	}
	public Long getSId() {
		return sId;
	}

	@Column(name="s_name")
	@XmlElement
	@Basic(fetch=FetchType.EAGER)
	private String sName;

	public void setSName(String sName) {
		this.sName = sName;
	}
	public String getSName() {
		return sName;
	}

}